import requests
rooms_url1 = 'http://192.168.10.94/video/1.mp4'
res = requests.get(rooms_url1,stream=True)
res.raise_for_status()
# f = open("file_path", "wb")
# for chunk in res.iter_content(chunk_size=512):
#      if chunk:
#          f.write(chunk)
print(res.status_code)
print(len(res.text))

